<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
    header('Access-Control-Allow-Origin: *');
    //su dung phuong thuc post tot hon phuong thuc get
    require 'DataProvider.php';
    require '../model/User.php';
    //ham lay thong tin tat ca users
    $userModel = new UserModel();
    echo json_encode($userModel->GetAllUser());//chuyen tat ca user thanh kieu json;
?>
